﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Display.Toaster {
    import flash.events.*;
    import flash.display.*;

    public class Toaster extends Sprite {

        protected var m_duration:int;

        public function Toaster(){
            this.m_duration = 1000;
            addEventListener(MouseEvent.MOUSE_MOVE, this.mouseCaptureHandler, false, 0, true);
            addEventListener(MouseEvent.CLICK, this.mouseCaptureHandler, false, 0, true);
        }
        public function get duration():int{
            return (this.m_duration);
        }
        public function set duration(_arg1:int):void{
            this.m_duration = _arg1;
        }
        public function get displayHeight():Number{
            return (height);
        }
        private function mouseCaptureHandler(_arg1:MouseEvent):void{
            _arg1.stopPropagation();
        }
        protected function close():void{
            dispatchEvent(new Event(Event.CLOSE));
        }

    }
}//package Display.Toaster 
